HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/transfer/jobs/config/export.yaml
release_tracks: [ALPHA]
command_type: CONFIG_EXPORT
help_text:
  brief: Export the configuration for a Storagetransfer transfer job.
  description: |
    *{command}* exports the configuration for a Storagetransfer transfer job.

    Transfer job configurations can be exported in
    Kubernetes Resource Model (krm) or Terraform HCL formats. The
    default format is `krm`.

    Specifying `--all` allows you to export the configurations for all
    transfer jobs within the project.

    Specifying `--path` allows you to export the configuration(s) to
    a local directory.
  examples: |
    To export the configuration for a transfer job, run:

      $ {command} my-transfer-job

    To export the configuration for a transfer job to a file, run:

      $ {command} my-transfer-job --path=/path/to/dir/

    To export the configuration for a transfer job in Terraform
    HCL format, run:

      $ {command} my-transfer-job --resource-format=terraform

    To export the configurations for all transfer jobs within a
    project, run:

      $ {command} --all
arguments:
  resource:
    help_text: Transfer job to export the configuration for.
    spec: !REF googlecloudsdk.command_lib.transfer.resources:transfer_job